package org.king.pojo.dto.account;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class ResetPasswordDTO {
    @Email
    private String email;
    @Length(min = 6, max = 16)
    private String password;
    @NotBlank
    private String code;
}
